<template>
    <el-page-header :icon="ArrowLeft" title="返回" @back="handleBack">
      <template #content>
        <span class="text-large font-600 mr-3"> {{props.title}} </span>
      </template>
    </el-page-header>
  </template>
  
  <script lang="ts" setup>
  import { ArrowLeft } from '@element-plus/icons-vue'
  import { ref,defineProps } from 'vue'
  // 定义接收的属性
const props = defineProps({
    title: String
});
const handleBack = () => {
    window.history.back();
}
console.log(props,'00990-')
  </script>